package com.example.assetmanagement.service;

import com.example.assetmanagement.common.PageRequest;
import com.example.assetmanagement.common.PageResponse;
import com.example.assetmanagement.domain.MaintenancePlan;

import java.util.List;

public interface MaintenancePlanService {

    PageResponse<MaintenancePlan> list(PageRequest pageRequest, String type, Integer status, String startDate, String endDate);

    void add(MaintenancePlan plan);

    void update(Long id, MaintenancePlan plan);

    void delete(Long id);

    void batchDelete(List<Long> ids);

    void updateStatus(Long id, Integer status, Integer progress);
} 